package com.zusmart.core.proxy.support.cglib;

import java.lang.reflect.Method;

import net.sf.cglib.proxy.MethodProxy;

public class CglibProxyMethodByInstance extends AbstractCglibProxyMethod {

	public CglibProxyMethodByInstance(Method targetMethod, MethodProxy targetMethodProxy) {
		super(targetMethod, targetMethodProxy);
	}

	@Override
	public Object invokeTargetMethod(Object targetInstance, Object[] targetArguments) throws Throwable {
		return this.targetMethodProxy.invokeSuper(targetInstance, targetArguments);
	}

}